package com.example.demo.controller.admin;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
public class IndexController {

    @GetMapping("back/index")
    public ModelAndView index()
    {
        return new ModelAndView("admin/index/index");
    }

    @GetMapping("back/welcome")
    public ModelAndView welcome()
    {
        return new ModelAndView("admin/index/welcome");
    }
}
